package com.mediacloud.app.newsmodule.broadcast;

import com.mediacloud.app.model.news.ArticleItem;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;

public class VideoVodBroadcast extends BroadcastReceiver {

	public static final String VodAction="VideoVodBroadcast";
	public VodItemClickHandle clickHandle;
	public VideoVodBroadcast() 
	{
	}

	@Override
	public void onReceive(Context context, Intent intent) 
	{
		if(clickHandle!=null)
		{
			ArticleItem articleItem=intent.getParcelableExtra("data");
			clickHandle.itemClick(articleItem);
		}
	}

	public interface VodItemClickHandle
	{
		void itemClick(ArticleItem articleItem);
	}
}